/*
 * Copyright(C) 2010 Luvina Software Company
 *
 * UserBaseManaged.java, Oct 29, 2010 ntmhuong
 */
package net.luvina.manageuser.managedbean;

import java.io.Serializable;
import java.util.List;

/**
 * カイポケビズ共通ManagedBean基底クラス
 *
 * @version $Rev$
 */
public class UserBaseManaged implements Serializable {
	private static final long serialVersionUID = -2449956394675018122L;

	/**
	 * 対象文字列内の置き換え文字を置換
	 *
	 * @param string
	 * @param replaceString
	 * @return string
	 */
	private String replaceString(String string, List<String> replaceString) {
		for (int i = 0; i < replaceString.size(); ++i) {
			string = string.replace("{" + (i + 1) + "}", replaceString.get(i));
		}

		return string;
	}
}
